<!DOCTYPE html>
<html class="x-admin-sm" xmlns:th="http://www.thymeleaf.org">
<head th:fragment="head(title)">
    <meta charset="UTF-8">
    <title th:text="${title}">农产品价格分析系统</title>
    <meta name="renderer" content="webkit|ie-comp|ie-stand">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">

    <meta http-equiv="Cache-Control" content="no-siteapp"/>

    <link rel="stylesheet" href="/static/css/font.css" th:href="@{/css/font.css}">
    <link rel="stylesheet" href="/static/css/xadmin.css" th:href="@{/css/xadmin.css}">
    <link rel="stylesheet" href="/static/css/theme1.css" th:href="@{/css/theme1.css}">

    <link rel="stylesheet" th:href="@{/css/area_price.css}">
    <script th:src="@{/js/echarts.min.js}"></script>

</head>
<body class="index">
<!-- 顶部开始 -->
<div class="container" th:fragment="top">
    <div class="logo">
        <a href="#">农产品价格分析系统</a></div>
    <div class="left_open">
        <a><i title="展开左侧栏" class="iconfont">&#xe699;</i></a>
    </div>
    <!--顶部导航栏-->
    <ul class="layui-nav left fast-add" lay-filter="">
        <li class="layui-nav-item">
            <a href="javascript:;">+新增</a>
            <dl class="layui-nav-child">
                <!-- 二级菜单 -->
                <dd>
                    <a onclick="xadmin.open('最大化','http://www.baidu.com','','',true)">
                        <i class="iconfont">&#xe6a2;</i>弹出最大化</a></dd>
                <dd>
                    <a onclick="xadmin.open('弹出自动宽高','/admin/admin-edit')">
                        <i class="iconfont">&#xe6a8;</i>弹出自动宽高</a></dd>
                <dd>
                    <a onclick="xadmin.open('弹出指定宽高','http://www.baidu.com',500,300)">
                        <i class="iconfont">&#xe6a8;</i>弹出指定宽高</a></dd>
                <dd>
                    <a onclick="xadmin.add_tab('在tab打开','member-list.html')">
                        <i class="iconfont">&#xe6b8;</i>在tab打开</a></dd>
                <dd>
                    <a onclick="xadmin.add_tab('在tab打开刷新','member-del.html',true)">
                        <i class="iconfont">&#xe6b8;</i>在tab打开刷新</a></dd>
            </dl>
        </li>
    </ul>
    <!--顶部导航栏-->
    <ul class="layui-nav right" lay-filter="">
        <li class="layui-nav-item">
            <a href="javascript:;">
                <img th:src="@{/img/logo.png}" class="layui-nav-img">
                <span th:text="${session.user.getUserName()}">名字</span>
            </a>
            <dl class="layui-nav-child">
                <!-- 二级菜单 -->
                <dd>
                    <a onclick="xadmin.add_tab('个人信息','/user/page/info')">个人信息</a>
                </dd>
                <dd>
                    <a href="#" th:href="@{/user}">切换账号</a>
                </dd>
                <dd>
                    <a href="#" th:href="@{/user/logout}">退出</a>
                </dd>
            </dl>
        </li>
        <li class="layui-nav-item to-index">
            <a href="/" th:href="@{/user}" target="_blank">前台首页</a></li>
    </ul>
</div>
<!-- 顶部结束 -->
<!-- 中部开始 -->
<!-- 左侧菜单开始 -->
<div class="left-nav" th:fragment="leftNav">
    <div id="side-nav">
        <ul id="nav">
            <li>
                <a href="javascript:;">
                    <i class="iconfont left-nav-li" lay-tips="信息统计">&#59214;</i>
                    <cite>信息统计</cite>
                    <i class="iconfont nav_right">&#xe697;</i></a>
                <ul class="sub-menu">
                    <li>
                        <a onclick="xadmin.add_tab('价格统计','/area/page/province')">
                            <i class="iconfont">&#xe6a7;</i>
                            <cite>价格统计</cite></a>
                    </li>
                    <li>
                        <a onclick="xadmin.add_tab('价格趋势','/area/page/year/change')">
                            <i class="iconfont">&#xe6a7;</i>
                            <cite>价格趋势</cite></a>
                    </li>
                    <li>
                        <a onclick="xadmin.add_tab('月内变化','/area/page/province/month/change')">
                            <i class="iconfont">&#xe6a7;</i>
                            <cite>月内变化</cite></a>
                    </li>
                </ul>
            </li>

            <li>
                <a href="javascript:;" onclick="xadmin.add_tab('区域行情','/area')">
                    <i class="iconfont left-nav-li" lay-tips="区域行情">&#xe6a2;</i>
                    <cite>区域行情</cite>
                    <i class="iconfont nav_right">&#xe697;</i></a>
                </a>
            </li>
            <li>
                <a href="javascript:;" onclick="xadmin.add_tab('大屏展示','/bigdisplay/search')">
                    <i class="iconfont left-nav-li" lay-tips="大屏展示">&#xe6a2;</i>
                    <cite>大屏展示</cite>
                    <i class="iconfont nav_right">&#xe697;</i></a>
                </a>
            </li>

            <li>
                <a href="javascript:;">
                    <i class="iconfont left-nav-li" lay-tips="用户管理">&#xe6b8;</i>
                    <cite>用户管理</cite>
                    <i class="iconfont nav_right">&#xe697;</i></a>
                <ul class="sub-menu">
                    <li>
                        <a onclick="xadmin.add_tab('用户列表','/user/page/userList')">
                            <i class="iconfont">&#xe6a7;</i>
                            <cite>用户列表</cite></a>
                    </li>
                    <li>
                        <a onclick="xadmin.add_tab('新增用户','/user/page/userAddPage')">
                            <i class="iconfont">&#xe6a7;</i>
                            <cite>新增用户</cite></a>
                    </li>
                </ul>
            </li>
            <li>
                <a href="javascript:;">
                    <i class="iconfont left-nav-li" lay-tips="信息管理">&#xe6b8;</i>
                    <cite>信息管理</cite>
                    <i class="iconfont nav_right">&#xe697;</i></a>
                <ul class="sub-menu">
                    <li>
                        <a onclick="xadmin.add_tab('个人信息','/user/page/info')">
                            <i class="iconfont">&#xe6a7;</i>
                            <cite>个人信息</cite></a>
                    </li>
                    <li>
                        <a onclick="xadmin.add_tab('修改个人信息','/user/page/updateInfo')">
                            <i class="iconfont">&#xe6a7;</i>
                            <cite>修改个人信息</cite></a>
                    </li>
                </ul>
            </li>


        </ul>
    </div>
</div>
<!-- <div class="x-slide_left"></div> -->
<!-- 左侧菜单结束 -->
<!-- 右侧主体开始 -->
<div class="page-content" th:fragment="rightNav">
    <div class="layui-tab tab" lay-filter="xbs_tab" lay-allowclose="false">
        <ul class="layui-tab-title">
            <li class="home">
                <i class="layui-icon">&#xe68e;</i>我的桌面
            </li>
        </ul>
        <div class="layui-unselect layui-form-select layui-form-selected" id="tab_right">
            <dl>
                <dd data-type="this">关闭当前</dd>
                <dd data-type="other">关闭其它</dd>
                <dd data-type="all">关闭全部</dd>
            </dl>
        </div>
        <div class="layui-tab-content">
            <div class="layui-tab-item layui-show">
                <iframe src='#' th:src="@{/area/page/welcome}" frameborder="0" scrolling="yes"
                        class="x-iframe"></iframe>
            </div>
        </div>
        <div id="tab_show"></div>
    </div>
</div>
<div class="page-content-bg"></div>
<style id="theme_style"></style>
<!-- 右侧主体结束 -->
<!-- 中部结束 -->
<script>//百度统计可去掉
var _hmt = _hmt || [];
(function () {
    var hm = document.createElement("script");
    hm.src = "https://hm.baidu.com/hm.js?b393d153aeb26b46e9431fabaf0f6190";
    var s = document.getElementsByTagName("script")[0];
    s.parentNode.insertBefore(hm, s);
})();</script>

<div th:fragment="script">
    <script src="https://cdn.staticfile.org/layui/2.6.8/layui.js"></script>
    <script src="/static/lib/layui/layui.js" th:src="@{/lib/layui/layui.js}" charset="utf-8"></script>
    <script type="text/javascript" src="/static/js/xadmin.js" th:src="@{/js/xadmin.js}"></script>
    <script src="https://cdn.bootcdn.net/ajax/libs/jquery/3.6.0/jquery.min.js"
            th:src="@{/js/jquery-3.5.1.min.js}"></script>
    <script type="text/javascript" src="https://cdn.bootcss.com/axios/0.18.0/axios.min.js"
            th:src="@{/js/axios.min.js}"></script>
    <script th:src="@{/js/echarts.min.js}"></script>

    <script>
        // 是否开启刷新记忆tab功能
        var is_remember = false;
    </script>
</div>

</body>

</html>